From 6c0a14d324fc9f6b603e4dfbf90c5fd74227edf3 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 19 Aug 2022 09:58:34 +0200 Subject: [PATCH] libxl: use time_t for qmp_synchronous_send()'s last parameter "int" is not a suitable type to hold / receive "time_t" values. The parameter is presently unused, so no functional change. Coverity ID: 1509377 Signed-off-by: Jan Beulich Reviewed-by: Juergen Gross Acked-by: Anthony PERARD --- tools/libs/light/libxl_qmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libs/light/libxl_qmp.c b/tools/libs/light/libxl_qmp.c index 6b0cd607d8..84740bd4b3 100644 --- a/tools/libs/light/libxl_qmp.c +++ b/tools/libs/light/libxl_qmp.c @@ -582,7 +582,7 @@ out: static int qmp_synchronous_send(libxl__qmp_handler *qmp, const char *cmd, libxl__json_object *args, qmp_callback_t callback, void *opaque, - int ask_timeout) + time_t ask_timeout) { int id = 0; int ret = 0; -- 2.30.2